package com.atguigu.day08.work;

public class Test03 {
    public static void main(String[] args) {

        Payment pay1 = Payment.pay(1);
        System.out.println(pay1);
        Payment pay2 = Payment.pay(2);
        System.out.println(pay2);
        Payment pay3 = Payment.pay(3);
        System.out.println(pay3);
        Payment pay4 = Payment.pay(4);
        System.out.println(pay4);

    }
}
